package com.zbvc.entity;
/**
 * book表的实体类
 * @author Administrator
 *
 */

public class Book {

	private int bid;//id
	private String name;//图书名称
	private String card;//图书号
	private String author;//作者
	private int num;//图书数量
	private String type;//图书的分类
	private String press;//出版社
	
	
	// 无参构造方法
	public Book() {
		super();
	}
	
	
	// 全参构造
	public Book(int bid, String name, String card, String author, int num, String type, String press) {
		super();
		this.bid = bid;
		this.name = name;
		this.card = card;
		this.author = author;
		this.num = num;
		this.type = type;
		this.press = press;
	}



	public int getBid() {
		return bid;
	}
	public void setBid(int bid) {
		this.bid = bid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCard() {
		return card;
	}
	public void setCard(String card) {
		this.card = card;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getPress() {
		return press;
	}
	public void setPress(String press) {
		this.press = press;
	}
	
	
	
}
